使用 Gitlab 搭建 CICD
安装 Gitlab
先搜索镜像 https://artifacthub.io/packages/search?kind=0
helm repo add gitlab http://charts.gitlab.io/
helm search repo gitlab
helm pull gitlab/gitlab
tar -zxvf gitlab-6.11.3.tgz
kubectl create ns gitlab
修改配置
global.hosts.domain: alsritter.com
minio.enabled: false # 关闭 minio
修改 hosts 文件,把域名指向本地 vim /etc/hosts
gitlab.alsritter.com 192.168.2.55
registry.alsritter.com 192.168.2.55
minio.alsritter.com 192.168.2.55
TODO: 待完善